import request from "@/utils/request.js";

export default {
    getAllVoteMenu: (params) => request.post("/role/getAllVoteMenu", params),
    getAllMenu: (params) => request.post("/role/getAllMenu", params),
    saveVote: (params) => request.post("/role/saveVote", params),
    saveSingleVote: (params) => request.post("/role/saveSingleVote", params),
    saveCopyPermission: (params) => request.post("/permission/saveCopyPermission", params),
    getAllVoteRole: (params) => request.post("/role/getAllVoteRole", params),
    saveVoteRole: (params) => request.post("/role/saveVoteRole", params),
    getAdminRole: (params) => request.post("/role/getAdminRole", params),
    login: (params) => request.post("/platform/login", params),
    saveBusiness: (params) => request.post("/ums/saveBusiness", params),
    douppass: (params) => request.post("/platform/douppass", params),
    saveOrg: (params) => request.post("/ums/saveOrg", params),
    
}